body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

.container {
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 400px;
    border-radius: 8px;
    margin-bottom: 20px;
}

h1 {
    text-align: center;
}

label {
    margin-top: 10px;
    font-size: 16px;
    display: block;
}

input, select, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
    width: 100%;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

.message {
    margin-top: 10px;
    font-size: 14px;
    color: green;
    text-align: center;
}

.diary-list {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.diary-item {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.diary-item:last-child {
    border-bottom: none;
}

.date {
    font-weight: bold;
    font-size: 16px;
}

.weather, .mood {
    font-size: 14px;
    color: #555;
}

.events {
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}
